import request from '@/utils/request'

export default {

  /**
   * 查询全部用户
   * @returns {AxiosPromise}
   */
  queryAll() {
    return request({
      url:`base/base/global-user/`,
      method:'get'
    })
  },
  addUser(data){
    return request({
      url:`base/base/global-user/`,
      method:'post',
      data:data
    })
  }
}
